package com.hst.web.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.hst.core.annotation.Comment;
import com.hst.core.dao.BaseEntity;

@Entity
@Table(name = "t_flow_config_detail")
@Comment("流程配置表明细")
public class TFlowConfigDetail extends BaseEntity {

	@Id
	@Column(name = "id", length = 10)
	@Comment("ID")	
	@GeneratedValue(generator = "hsid")
	@GenericGenerator(name = "hsid", strategy = "com.hst.core.hbm.HSIDGenerator")
	private String id;

	@Column(name = "config_id", length = 10)
	@Comment("主配置Id")
	private String configId;

	@Column(name = "srl", length = 10)
	@Comment("顺序")
	private Integer srl;
	
	@Column(name = "node_Name", length = 10)
	@Comment("节点名称")
	private String nodeName;

	@Column(name = "role", length = 10)
	@Comment("审批角色")
	private String role;

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getConfigId() {
		return configId;
	}

	public void setConfigId(String configId) {
		this.configId = configId;
	}

	public Integer getSrl() {
		return srl;
	}

	public void setSrl(Integer srl) {
		this.srl = srl;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}
}
